<?php
$this->title="修改用户";

use yii\helpers\Html;
?> 

<?=Html::beginForm('','post',['id'=>'editForm']);?>
<?=Html::activeInput('text', $model, 'username',['class'=>'input']);?>
<hr />
<?=Html::activeInput('password', $model, 'password_hash',['class'=>'input password']);?>
<hr />
<?=Html::activeInput('text', $model, 'email',['class'=>'input']);?>
<hr />
<?=Html::activeInput('hidden', $model, 'id',['class'=>'input']);?>

<?=Html::endForm();?>